package com.pomelo.chat.domain;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
public class Chat implements Serializable {

    private Integer chatId;

    private String username;

    private String userKey;

    private String model;

    private String prompt;

    private String answer;

    private Boolean isEnd;

    private String ipAddress;

    private String responseJson;

    private String promptId;

    private String finishReason;

    private String questUrl;

    private Date createTime;

    private Long requestTime;

    @Serial
    private static final long serialVersionUID = 1L;
}